<template>
  <div class="amend">
    <van-nav-bar title="添加地址" left-arrow @click-left="onClickLeft" />
    <Info />
  </div>
</template>

<script>
import Info from "../components/lsc/infoerc.vue";

export default {
  components: { Info },
  methods: {
    onClickLeft() {
      this.$router.back();
    },
  },
  created() {
    console.log(this.$route.query.id);
  },
};
</script>

<style scoped>
/deep/.van-nav-bar {
  background-color: #f5f5f5;
}
/deep/.van-nav-bar .van-icon {
  color: gray;
}
/deep/ .van-nav-bar__title {
  margin-left: 50px;
  margin: auto;
}
/deep/.van-switch--on {
  background-color: #6d87c4;
}
/deep/.van-button--round {
  background-color: #6d87c4;
  border: none;
}

.amend {
  width: 100%;
  min-height: 6.4rem;
  background-color: #f5f5f5;
}
</style>